package com.xjoyt.pay.master.interfaces;

import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.xjoyt.pay.dto.ExecuteResult;
import com.xjoyt.pay.dto.PageParam;
import com.xjoyt.pay.dto.PageResult;
import com.xjoyt.pay.master.vo.DistributorRateMap;
import com.xjoyt.pay.master.vo.RateEntry;
import com.xjoyt.pay.merchant.register.params.DistributorPageParam;

public interface DistributorRateContract {

	@RequestMapping(value = "loadPageRate", method = RequestMethod.POST)
	PageResult<DistributorRateMap> loadPageRate(PageParam<DistributorPageParam> param);

	@RequestMapping(value = "saveRate", method = RequestMethod.POST)
	ExecuteResult<?> saveRate(DistributorRateMap param);

	@RequestMapping(value = "findAllRateEntry", method = RequestMethod.POST)
	List<RateEntry> findAllRateEntry(String id);

}
